package com.greateamd.timetableasy.client.mvc.view.home;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.greateamd.timetableasy.client.mvc.model.Model;
import com.greateamd.timetableasy.client.services.user.UserService;
import com.greateamd.timetableasy.client.services.user.UserServiceAsync;
import com.greateamd.timetableasy.client.widgets.ClassicLabel;
import com.greateamd.timetableasy.domain.User;

public class HomePage <M extends Model> extends IHomePage<M>
{
	private final UserServiceAsync userService = GWT.create(UserService.class);
	
	private final Label pageState = new ClassicLabel("<br/><br/><h1>TIMETIMEASY votre nouveau planning manager !!</h1><br/><br/><img src='img/preview.png' /><br/><br/><br/><br/><br/><br/>");
	
	/**
	 * Constructor
	 */
	public HomePage() {
		initWidget(build());
	}
	
	public Widget build(){
		return pageState;
	}

	@Override
	public Widget getWidgetPage() {
		return this;
	}

	@Override
	public void setUser(User user) {
		
	}

}